import subprocess, time

if __name__ == '__main__':
    #p1 = subprocess.Popen('python testRunner.py cfg_FF_ANY_5562.ini')
    #p4 = subprocess.Popen('python testRunner.py cfg_FF_ANY_5562.ini')     
    ##Chromedriver 1 not working for some reason. Can try apha version of chromedriver2. (whihc doesnt close at end of run as of 
    ## latest version
    #p2 = subprocess.Popen('python testRunner.py cfg_Chrome_ANY_5563.ini')
    
    
    #I add test selection  configuration to separate file
    #so all tests process can use it's own launch configurations but share test selection configuration.
    #I you want you can set own test selection rules for each process 
    #if files with selection rules is not set tests are selected as usual 
    p3 = subprocess.Popen('python testRunner.py cfg_FF_ANY_5562.ini runModule2.ini')
    p4 = subprocess.Popen('python testRunner.py cfg_IE_ANY_5560.ini runModule4.ini')
    #p3 = subprocess.Popen('python testRunner.py cfg_FF_ANY_5562.ini')
    #p5 = subprocess.Popen('python testRunner.py cfg_Android_Android_5554.ini')
    #p6 = subprocess.Popen('python testRunner.py cfg_Android_Android_5556.ini')

    
    
